﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace ncs.lingtian
{
    public class Helper
    { 

        public static int Caculate(int v1,int v2,int defaultValue=1)
        {
            var v3 = v1 / v2;
            return v3 > 0 ? v3 : defaultValue;
        }
    }
}
